package com.baosight.risk.api.xtdc;

import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.xtdc.entity.XtdcDirectory;
import com.baosight.risk.service.xtdc.vo.DirVO;

/**
 * @author houji
 */
public interface XtdcDirectoryService extends BaseService<XtdcDirectory> {
    /**
     * 新建文件夹
     *
     * @param xtdcDirectory
     * @return
     */
    Integer addDirectory(XtdcDirectory xtdcDirectory);

    /**
     * 查询文件
     *
     * @param xtdcDirectory
     * @return
     */
    DirVO selectList(String rootDoccId);

    DirVO selectChildList(XtdcDirectory xtdcDirectory);

    Integer deleteDir(String teamId, String dirId);
}
